﻿using EventBus.Common;
using System.Threading.Tasks;

namespace Order.Common.Command
{
    /// <summary>
    /// CommandService
    /// </summary>
    public interface ICommandService
    {
        /// <summary>
        /// RabbitMq异步发送命令
        /// </summary>
        /// <param name="command"></param>
        /// <returns></returns>
        Task RabbitMqSendCommandAsync(ICommand command);
    }
}
